Ext.define('Admin.store.organization.OrganizationStore', {
    extend: 'Ext.data.Store',
    alias: 'store.organizationStore',

    fields: ['id', 'name'],

    proxy: {
        type: 'ajax',
        url: 'organization/allOrganization',
        reader: {
            type: 'json',
            rootProperty: 'data'
        }
    },

    autoLoad: true
});